package indi.h.mlx.custom.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import indi.h.mlx.custom.annotations.enums.ColumnType;
import indi.h.mlx.custom.annotations.enums.ParamNexus;
import indi.h.mlx.custom.annotations.enums.SelectType;

@Target({ ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface CColumn {

	public String name();

	public SelectType selectType() default SelectType.EQUAL;

	public ColumnType columnType() default ColumnType.COLUMN;

	public String separator() default "";

	public String joinColumn() default "";

	public ParamNexus mulitNexus() default ParamNexus.OR;

	public ParamNexus singleNexus() default ParamNexus.AND;
}
